package com.biz.primus.ms.sms.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntityPKIncrement;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 存放当前选中的provider,每次修改都新增一条记录,读取时总是读取最后一条
 *
 * @author yanweijin
 * @date 2017/5/31
 */
@Entity
@Table(name = "cmp_selected_provider")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SelectedProvider extends BaseEntityPKIncrement {


    private static final long serialVersionUID = -1557524924690012741L;
    @Column(name = "provider_id", length = 32, nullable = false, updatable = false)
    private String providerId;

}
